package net.muchine.test.ddd.repository;

import net.muchine.test.ddd.repository.collection.CollectionOrderRepository;
import net.muchine.test.ddd.repository.collection.CollectionProductRepository;

public class RepositoryFactory {
	private static ProductRepository productRepository = new CollectionProductRepository();
	private static OrderRepository orderRepository = new CollectionOrderRepository();
	
	public static ProductRepository getProductRepository() {
		return productRepository;
	}
	
	public static OrderRepository getOrderRepository() {
		return orderRepository;
	}
}
